package com.snlab.netGraph;

public class Link {
    private Port p1;
    private Port p2;

    public Link(Port p1, Port p2) {
        this.p1 = p1;
        this.p2 = p2;
        p1.setPair(p2);
        p2.setPair(p1);
    }
}
